RM= rm
GCC 	  = gcc
CFLAGS    =

CMDSRC.C     =  main.c
SOURCES.C    =  $(CMDSRC.C) 
CMDOBJS	     =	$(CMDSRC.C:.c=.o)
EXECUTABLES  =  test



%.o:	%.c
	$(GCC) $(CFLAGS) -c -o $@ $<

all:	executable	\
	clean

executable: $(CMDOBJS)
	$(GCC) $(CFLAGS) $(CMDOBJS) -o $(EXECUTABLES)
	
clean:
	$(RM) -f *.o


